﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<script src="/Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
<body>
<iframe src="" id="xx" onload="alert(this)" ></iframe>
<script>
    function getx() {
        alert(11)
        debugger;
        var x = document.getElementById("xx");
        debugger;

    }
    function zhua() { 
        xx
    }
    $("#xx").attr("src","http://www.dianping.com/search/category/58/10/p1")
</script>
<button style="font-size:80px" onclick="getx()">开始</button>

</body>
</html>
